<%@ page contentType="text/html; charset=UTF-8" language="java" pageEncoding="utf-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>


<div class="width-130 left">
    	<div class="leftcont">
        	<div class="leftcont-top"></div>
            <div class="leftcont-mid">
            	<div class="user-name">
                	<div><s:property value="#session.username"/></div>
                </div>
                <s:bean var="user_auth" name="com.prp.struts.bean.UserAuth">
					<s:param name="username" value="#session.username"/>
				</s:bean>
             	<div class="menu">
                	<ul>
                    	<li>
                        	<a href="user/changePasswordPage.action"><s:text name="_prUserSettings"/></a>
                        </li>
                        <li>
                        	<a href="file/mycollect.action"><s:text name="_MyCollection"/></a>
                        </li>
                        <s:if test="#user_auth.is_UserAdmin">
                        <li>
                        	<a href="<s:url action="userlist" namespace="/admin"/>"><s:text name="_prUserManagement"/></a>
                        </li>
                        </s:if>
                        <s:if test="#user_auth.is_FileAdmin">
                        <li>
                        	<a href="file/file_list_admin.action"><s:text name="_FileManagement"/></a>
                        </li>
                        <li>
                        	<a href="<s:url action="updatepage" namespace="/file"/>"><s:text name="_prUploadFiles"/></a>
                        </li>
                        <li>
                        	<a href="file/uploadFilesPage.action"><s:text name="_prBatchUpload"/></a>
                        </li>
                        </s:if>
                        
                    </ul>
             	</div>
            </div>
            
        </div>
    
    </div>